package com.design.model;

/**
 * windows工厂
 *
 * @author lw
 * @date 2023/12/1 14:15
 **/
public class WindowsFactory implements SoftwareFactory{

    @Override
    public OperatingSystem createOperatingSystem() {
        return new WindowsOS();
    }

    @Override
    public Application createApplication() {
        return new ExcelApplication();
    }
}
